package com.edu.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Employee {
    private Integer empId;

    private String empName;

    private Integer empPid;

    private Date empDate;

    private BigDecimal empSalary;

    private Integer empMgr;

    private Integer empDid;

    private Employee topEmp;

    private Department department;

    @Override
    public String toString() {
        return "Employee{" +
                "empId=" + empId +
                ", empName='" + empName + '\'' +
                ", empPid=" + empPid +
                ", empDate=" + empDate +
                ", empSalary=" + empSalary +
                ", empMgr=" + empMgr +
                ", empDid=" + empDid +
                ", topEmp=" + topEmp +
                ", department=" + department +
                '}';
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Employee getTopEmp() {
        return topEmp;
    }

    public void setTopEmp(Employee topEmp) {
        this.topEmp = topEmp;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName == null ? null : empName.trim();
    }

    public Integer getEmpPid() {
        return empPid;
    }

    public void setEmpPid(Integer empPid) {
        this.empPid = empPid;
    }

    public Date getEmpDate() {
        return empDate;
    }

    public void setEmpDate(Date empDate) {
        this.empDate = empDate;
    }

    public BigDecimal getEmpSalary() {
        return empSalary;
    }

    public void setEmpSalary(BigDecimal empSalary) {
        this.empSalary = empSalary;
    }

    public Integer getEmpMgr() {
        return empMgr;
    }

    public void setEmpMgr(Integer empMgr) {
        this.empMgr = empMgr;
    }

    public Integer getEmpDid() {
        return empDid;
    }

    public void setEmpDid(Integer empDid) {
        this.empDid = empDid;
    }
}